package com.rem.service.impl;

import com.rem.dao.UserDao;
import com.rem.pojo.User;
import com.rem.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author remembrance
 * @version 1.0
 * @date 2021/11/18 13:54
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;

    @Override
    public List<User> selectAll() {
        return userDao.selectAll();
    }
}
